﻿using System;
namespace Cobit5.Model
{
	/// <summary>
	/// Membership:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Membership
	{
		public Membership()
		{}
		#region Model
		private string _userid;
		private string _username;
		private string _password;
		private string _passwordsalt;
		private string _email;
		private string _mobile;
		private string _telephone;
		private string _passwordquestion;
		private string _passwordanswer;
		private bool _isapproved;
		private bool _islockedout;
		private DateTime? _createdate;
		private DateTime? _lastlogindate;
		private DateTime? _lastpasswordchangeddate;
		private DateTime? _lastlockoutdate;
		private int? _failedpasswordattemptcount;
		private DateTime? _failedpasswordattemptwindowstart;
		private int? _failedpasswordanswerattemptcount;
		private DateTime? _failedpasswordanswerattemptwindowsstart;
		private string _comment;
		/// <summary>
		/// 
		/// </summary>
		public string UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PasswordSalt
		{
			set{ _passwordsalt=value;}
			get{return _passwordsalt;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Mobile
		{
			set{ _mobile=value;}
			get{return _mobile;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Telephone
		{
			set{ _telephone=value;}
			get{return _telephone;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PasswordQuestion
		{
			set{ _passwordquestion=value;}
			get{return _passwordquestion;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PasswordAnswer
		{
			set{ _passwordanswer=value;}
			get{return _passwordanswer;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsApproved
		{
			set{ _isapproved=value;}
			get{return _isapproved;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsLockedOut
		{
			set{ _islockedout=value;}
			get{return _islockedout;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastLoginDate
		{
			set{ _lastlogindate=value;}
			get{return _lastlogindate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastPasswordChangedDate
		{
			set{ _lastpasswordchangeddate=value;}
			get{return _lastpasswordchangeddate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastLockoutDate
		{
			set{ _lastlockoutdate=value;}
			get{return _lastlockoutdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? FailedPasswordAttemptCount
		{
			set{ _failedpasswordattemptcount=value;}
			get{return _failedpasswordattemptcount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FailedPasswordAttemptWindowStart
		{
			set{ _failedpasswordattemptwindowstart=value;}
			get{return _failedpasswordattemptwindowstart;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? FailedPasswordAnswerAttemptCount
		{
			set{ _failedpasswordanswerattemptcount=value;}
			get{return _failedpasswordanswerattemptcount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FailedPasswordAnswerAttemptWindowsStart
		{
			set{ _failedpasswordanswerattemptwindowsstart=value;}
			get{return _failedpasswordanswerattemptwindowsstart;}
		}
		/// <summary>
		/// Administrator,
        ///Auditor,
        ///Professional
		/// </summary>
		public string Comment
		{
			set{ _comment=value;}
			get{return _comment;}
		}
		#endregion Model

	}
}

